package day9;

public class t1 {
    public static void main(String[] args) {
        //传字节数组（以asc码的形式）
        byte []number ={100,101,102,103};
        String s= new String (number);
        System.out.println(s);
        //传字符数组
        char []s1={'a','b','c','d'};
        String s2=new String(s1);
        System.out.println(s2);
        String s3="Abcd";
        System.out.println(s3);
        System.out.println(s3==s2);
        System.out.println(s3.equals(s2));
        System.out.println(s3.equalsIgnoreCase(s2));
    }
}
